package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;


@Data
public class SecondBrandCollectionLockOrderDTO {

    @NotNull(message = "必要参数不可以为空")
    @ApiModelProperty("藏品id")
    private Long collectionId;

    @NotNull(message = "请输入购买数量")
    @ApiModelProperty("数量")
    @Range(min = 1L,max = 99L ,message = "数量输入不正确")
    private Integer buyCount;
}
